home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / STUFFKB.DOC < prev    next >
Text File  |  1989-12-26  |  3KB  |  133 lines

  1.                              STUFFKB.COM v1.01
  2.                              December 26, 1989
  3.  
  4.     STUFFKB is a PUBLIC DOMAIN PROGRAM which places parameters on the
  5.     command line into the BIOS Keyboard buffer.  It was created to enable
  6.     batch files to pass parameters to applications but may have other uses
  7.     (see example below).  As placed on BBSs, the following files should be
  8.     in a single archived file:
  9.  
  10.         STUFFKB.TXT     This File
  11.         STUFFKB.COM     Program File
  12.         STUFFKB.Vxx     Version xx of Assembler Source File
  13.  
  14.     To use the program, type STUFFKB parameters.  "Parameters" is a
  15.     sequence of keystrokes to be placed in the keyboard buffer.  Control
  16.     characters can be passed by enclosing them in ~ characters.  (i.e.
  17.     ~CR~ passes an ASCII carriage return- decimal 13, ^M).  Version 1.01
  18.     supports the following "control" codes:
  19.  
  20.         Function        Code  ASCII Value
  21.         -------------   ----  ----------
  22.         Carriage Return CR        013
  23.         Back Space      BS        008
  24.         Escape          ESC       027
  25.  
  26.     While this is sufficient for most uses, it can easily be expanded by
  27.     editing the accompanying Assembler source code and recompiling.
  28.  
  29.     LIMITATIONS:
  30.         STUFFKB is not Memory Resident and does not expand the keyboard
  31.         buffer beyond the BIOS limit of 15 characters.  It will therefore
  32.         not stuff more than 15 characters.
  33.  
  34.         STUFFKB was designed to work directly with the BIOS keyboard of
  35.         IBM PCs and compatibles.  It will not work with some early "cheap"
  36.         klones (i.e. SANYO), or with Memory resident keyboard extenders
  37.         which move the BIOS Buffer.
  38.  
  39.         If you enclose an unrecognized control code within "~" characters,
  40.         STUFFKB will stuff a ^G (Bell) character instead.  Some DOS
  41.         versions and most applications will BEEP the PC's speaker when
  42.         this character is encountered.
  43.  
  44.     EXAMPLE:
  45.         I wrote this program to pass parameters to applications by
  46.         stuffing the keyboard buffer.  For instance suppose you wanted a
  47.         batch file to load Lotus 123 (TM) and a spreadsheet passed as a
  48.         parameter to the batch file.  I.E. "L Homework" to bring you from
  49.         the DOS prompt into Lotus with the Homework spreadsheet
  50.         displayed.  The following batch file would accomplish this
  51.         assuming 1) the spreadsheet is in Lotus' default data directory
  52.         (\Lotus\wks for me) and 2) STUFFKB.COM is in the current
  53.         subdirectory or active DOS path.
  54.  
  55.         L.BAT
  56.              CD \Lotus
  57.              IF EXIST C:\Lotus\wks\%1.WK? GOTO Stuff
  58.              123
  59.              GOTO Exit
  60.              :Stuff
  61.         -->  STUFFKB 123~CR~/FR%1~CR~
  62.              :Exit
  63.  
  64.  
  65.     I hope you find STUFFKB useful.  If you modify and return the program
  66.     to the public, please rename the assembler source to a new revision
  67.     level.
  68.  
  69. Ed Derzawiec
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.